home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Resources / Chat & Communication / Digsby build 37 / digsby_setup.exe / lib / gui / clique.pyo (.txt) < prev    next >
Python Compiled Bytecode  |  2008-10-13  |  1KB  |  40 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyo (Python 2.5)
  3.  
  4. from util import FunctionList
  5.  
  6. class Clique(set):
  7.     
  8.     def __setattr__(self, attr, val):
  9.         for o in self:
  10.             setattr(o, attr, val)
  11.         
  12.  
  13.     
  14.     def __getattr__(self, attr):
  15.         
  16.         try:
  17.             return set.__getattr__(self, attr)
  18.         except AttributeError:
  19.             
  20.             try:
  21.                 return self.__dict__[attr]
  22.             except KeyError:
  23.                 
  24.                 default = lambda *a, **k: pass
  25.                 res = (None, FunctionList)((lambda .0: for x in .0:
  26. getattr(x, attr, default))(self))
  27.                 return res
  28.             except:
  29.                 None<EXCEPTION MATCH>KeyError
  30.             
  31.  
  32.             None<EXCEPTION MATCH>KeyError
  33.  
  34.  
  35.     
  36.     def __repr__(self):
  37.         return '<%s: %r>' % (type(self).__name__, set.__repr__(self))
  38.  
  39.  
  40.